Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.platform.publisher.contrib--treeInstance

This contribution is part of XML component org.nuxeo.ecm.platform.publisher.contrib inside nuxeo-platform-publisher-core-8.10.jar /OSGI-INF/publisher-contrib.xml

Documentation

Contribute the default PublicationTree instance to be able to publish documents in local sections.

Extension Point

Extension point treeInstance of component PublisherServiceImpl.

Contributed Items

  • <publicationTreeConfig factory="CoreProxy" localSectionTree="true" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RootSectionsCoreTree">
          <parameters>
            <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
            <parameter name="RelativeRootPath">/sections</parameter>
            <parameter name="enableSnapshot">true</parameter>
            <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
            <parameter name="iconCollapsed">/icons/folder.gif</parameter>
          </parameters>
        </publicationTreeConfig>

XML Source

<extension point="treeInstance" target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl">

    <documentation>
      Contribute the default PublicationTree instance to be able to publish
      documents in local sections.
    </documentation>

    <publicationTreeConfig factory="CoreProxy" localSectionTree="true" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RootSectionsCoreTree">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>